//获取应用实例
var app = getApp();

Page({
    data: {

    },
    onLoad: function () {
        var that = this;
        app.initPage({
            'navigationBarTitleText': '我的'
        });
        app.util.footer(that);
        app.util.getUserInfo(function (res) {
            var userInfo = res.memberInfo;
            that.setData({
                userInfo: userInfo,
            });
        });
    },
})